#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
int mark[20] = { 1 };

void f(int n) {
	int flag = 0;
	while (n >= mark[flag]) {
		flag++;
	}
	flag--;
	if (flag == 1) cout << 2;
	else {
		if (flag == 0) cout << "2(0)";
		else {
			cout << "2(";
			f(flag);
			cout << ")";
		}
	}
	n -= mark[flag];
	if (n != 0) {
		cout << "+";
		f(n);
	}
}

int main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	int n; cin >> n;
	for (int i = 1; i < 17; i++) mark[i] = mark[i - 1] * 2;
	f(n);
	return 0;
}